package com.example.administrator.myproject.IMethod;

import com.example.administrator.myproject.beans.Result;
import com.example.administrator.myproject.beans.UserInfo;

import java.util.List;

import retrofit2.Call;
import retrofit2.http.Field;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Path;

/**
 * Created by Administrator on 2016-11-30.
 */
public interface GitHubNetworkInterface {
    @GET("repos/{user}/{psw}/contributors")
    Call<List<UserInfo>> getDataByLs(@Path("user") String user, @Path("psw") String psw);
    @POST("User/Login")
    Call<Result>getUserInfo(@Field("YONGHM")String YONGHM,@Field("MIM") String MIM);
}
